//
//  QYGKeychain.h
//  wawaji_ios
//
//  Created by 云+物娱 on 2017/12/11.
//  Copyright © 2017年 yiguo qi. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface QYGKeychain : NSObject

#pragma mark - 读取数据
+ (NSString *_Nullable)token;
+ (NSString *_Nullable)userId;
+ (NSInteger)soundType;
+ (NSInteger)bgMusicIsClose;
+ (NSInteger)payType;
+ (NSString *_Nullable)mall_url;
+ (NSString *_Nullable)socket_url;
+ (NSString *_Nullable)appName;
+ (NSInteger)isShowPay;
+ (NSInteger)isDollTest;

#pragma mark - 设置数据
+ (BOOL)setToken:(NSString *_Nullable)token;
+ (BOOL)setUserId:(NSString *_Nullable)userId;
+ (BOOL)setSoundType:(NSInteger)soundType;
+ (BOOL)setBgMusicIsClose:(NSInteger)bgMusicIsClose;

+ (BOOL)setPayType:(NSInteger)payType;
+ (BOOL)setMall_url:(NSString *_Nullable)mall_url;
+ (BOOL)setSocket_url:(NSString *_Nullable)socket_url;
+ (BOOL)setAppName:(NSString *_Nullable)appName;
+ (BOOL)setIsShowPay:(NSInteger)isShowPay;
+ (BOOL)setIsDollTest:(NSInteger)isDollTest;



#pragma mark - 删除数据

+ (BOOL)deleteToken;
+ (BOOL)deleteUserId;
+ (BOOL)deleteSoundType;
+ (BOOL)deleteBgMusicIsClose;
+ (BOOL)deleteMall_url;
+ (BOOL)deleteSocket_url;
+ (BOOL)deleteIsShowPay;
@end
